<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>练习一</title>
</head>
<body>
  <script>
      function max(a, b, c) {
        return a>b ? b>c ? a : a>c? a : c : a > c ? b : b>c? b : c
      }
      let a = 10,b=30,c=20;
      let maxNUm = max(a,b,c);
      console.log(maxNUm);
  </script>
</body>
</html>